<template>
  <div>
    <div class="main">
      <van-sticky style="position: absolute">
        <van-nav-bar
          left-arrow
          style="background-color: transparent"
          @click-left="$router.push('/home/indexV/activity')"
        />
      </van-sticky>
      <van-sticky :offset-top="560" style="position: absolute">
        <van-button
          type="primary"
          @click="$router.push(`/activity/position/${1}`)"
          class="position"
          >常见问题</van-button
        >
      </van-sticky>
      <img src="@/assets/pic/club.jpg" alt="" />
      <van-image
        round
        width="5rem"
        height="5rem"
        src="https://img01.yzcdn.cn/vant/cat.jpeg"
        class="round"
      />
      <div class="club">
        <h6>cloudwave 云浪路冲俱乐部</h6>
        <!-- 情侣刷街活动 -->
        <div class="lovers">
          <div class="lover">
            <b>214情侣刷街活动</b> <span>收费</span> <span>会员</span>
          </div>
          <div class="lovertext">
            <p>
              <img src="@/assets/pic/time.png" alt="" /> 活动时间：周日 02.14
              18:00--22:00
            </p>
            <p>
              <img src="@/assets/pic/time.png" alt="" /> 报名截止时间：周日
              02.14 17:00
            </p>
            <p><img src="@/assets/pic/地址.png" alt="" /> 活动地址：世纪公园</p>
            <p><img src="@/assets/pic/钱袋.png" alt="" /> 活动费用：28/人</p>
            <p><img src="@/assets/pic/人员.png" alt="" /> 活动人数：30</p>
            <p>
              <img src="@/assets/pic/人群.png" alt="" />
              活动者联系方式：15500986187
            </p>
          </div>
        </div>
        <!-- 分割线 -->
        <div class="fgx"></div>
        <!-- 活动详情 -->
        <div class="detail">
          <h5>活动详情</h5>
          <pre>

[cloudwave 云浪信人节陆冲刷街活动]
当天报名参加的信侣会就得214纪会品一份，单身狗可以参加随机
配对板友活动(匹配不分性别)

<b>注意事项：</b>
户外运动内有风险，清自行购买运动保险！最加前会校验保险信
息，如未胸买不可象与活动。
活动全程清佩戴练习护具，以免受伤。
         </pre
          >
        </div>
        <!-- 分割线 -->
        <div class="fgx"></div>
        <!-- 当前报名 -->
        <div class="apply">
          <h5>当前报名(10/30)</h5>
          <div class="applytext">
            <div class="tw">
              <van-image
                round
                width="4rem"
                height="4rem"
                src="https://img01.yzcdn.cn/vant/cat.jpeg"
              />
              <p>Alex44</p>
            </div>
            <div class="tw">
              <van-image
                round
                width="4rem"
                height="4rem"
                src="https://img01.yzcdn.cn/vant/cat.jpeg"
              />
              <p>Alex44</p>
            </div>
            <div class="tw">
              <van-image
                round
                width="4rem"
                height="4rem"
                src="https://img01.yzcdn.cn/vant/cat.jpeg"
              />
              <p>Alex44</p>
            </div>
            <div class="tw">
              <van-image
                round
                width="4rem"
                height="4rem"
                src="https://img01.yzcdn.cn/vant/cat.jpeg"
              />
              <p>Alex44</p>
            </div>
            <div class="tw">
              <van-image
                round
                width="4rem"
                height="4rem"
                src="https://img01.yzcdn.cn/vant/cat.jpeg"
              />
              <p>Alex44</p>
            </div>
            <div class="tw">
              <van-image
                round
                width="4rem"
                height="4rem"
                src="https://img01.yzcdn.cn/vant/cat.jpeg"
              />
              <p>Alex44</p>
            </div>
            <div class="tw">
              <van-image
                round
                width="4rem"
                height="4rem"
                src="https://img01.yzcdn.cn/vant/cat.jpeg"
              />
              <p>Alex44</p>
            </div>
            <div class="tw">
              <van-image
                round
                width="4rem"
                height="4rem"
                src="https://img01.yzcdn.cn/vant/cat.jpeg"
              />
              <p>Alex44</p>
            </div>
            <div class="tw">
              <van-image
                round
                width="4rem"
                height="4rem"
                src="https://img01.yzcdn.cn/vant/cat.jpeg"
              />
              <p>Alex44</p>
            </div>
            <div class="tw">
              <van-image
                round
                width="4rem"
                height="4rem"
                src="https://img01.yzcdn.cn/vant/cat.jpeg"
              />
              <p>Alex44</p>
            </div>
          </div>
        </div>
        <!-- 分割线 -->
        <div class="fgx"></div>
        <div class="activepic">
          <h5>活动照片</h5>
          <div class="tupian">
            <img src="@/assets/pic/club.jpg" alt="" />
            <img src="@/assets/pic/club.jpg" alt="" />
            <img src="@/assets/pic/club.jpg" alt="" />
            <img src="@/assets/pic/club.jpg" alt="" />
            <img src="@/assets/pic/club.jpg" alt="" />
          </div>
        </div>
      </div>
      <van-sticky :offset-top="617" fixed>
        <div class="between">
          <p>截止2023.2.14 15:00前可报名</p>
          <van-button type="info" class="btn">立即报名</van-button>
        </div>
      </van-sticky>
    </div>
  </div>
</template>

<script>
import Vue from "vue";
// import { NavBar } from 'vant';
import { Image as VanImage } from "vant";
import { Button } from "vant";
Vue.use(Button);
Vue.use(VanImage);
// Vue.use(NavBar);
export default {};
</script>

<style lang="scss" scoped>
::v-deep .van-nav-bar .van-icon {
  color: #000;
}
[class*="van-hairline"]::after {
  border: none;
}
.position {
  margin-left: 320px;
  width: 35px;
  height: 35px;
  background-color: #999;
  border-radius: 50%;
  font-size: 12px;
  border: 3px solid #888;
}

.between {
  display: flex;
  align-items: center;
  justify-content: space-around;
  width: 100%;
  height: 50px;
  background-color: #fff;
  p {
    font-size: 14px;
  }
  .btn {
    width: 120px;
    height: 30px;
    border-radius: 10px;
  }
}
* {
  margin: 0;
  padding: 0;
}
.main {
  width: 375px;
  position: relative;
  .club {
    .activepic {
      .tupian {
        display: flex;
        flex-direction: column;
      }
      h5 {
        margin: 10px 0;
        text-indent: 15px;
      }
    }
    .apply {
      .applytext {
        display: flex;
        flex-wrap: wrap;
        .tw {
          margin-top: 10px;
          width: 20%;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          p {
            text-align: center;
          }
        }
      }

      box-sizing: border-box;
      padding: 6px 15px;
    }
    .detail {
      pre {
        font-size: 12px;
        line-height: 1.8;
      }
      box-sizing: border-box;
      padding: 6px 15px;
    }
    .fgx {
      width: 100%;
      height: 5px;
      background-color: #f3f3f3;
    }
    .lovers {
      margin-top: 20px;
      display: flex;
      flex-direction: column;
      font-size: 14px;
      box-sizing: border-box;
      padding: 6px 15px;
      .lovertext {
        margin-top: 10px;
        p {
          display: flex;
          justify-content: flex-start;
          align-items: center;
          text-align: left;
          line-height: 1.8;

          img {
            width: 15px;
            height: 15px;
          }
        }
      }
      .lover {
        display: flex;
        span {
          width: 34px;
          text-align: center;
          background-color: #e5e5e5;
          border-radius: 3px;
          margin-left: 8px;
        }
      }
    }
    h6 {
      text-indent: 110px;
      font-size: 14px;
    }
    width: 100%;
    background-color: #fff;
    min-height: 100px;
    position: absolute;
    top: 135px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
  }
  .footer {
    position: absolute;
    bottom: 0;
  }
  .round {
    // transform: translateY(-50px);
    z-index: 10;
    position: relative;
    top: -120px;
    margin-left: 20px;
  }
  img {
    width: 100%;
  }
}
</style>
